<template>
	<view class="box">
		<view class="hezi">
			<view class="toux">
				<span>头像</span>
				<view>
					<image src="../../static/t.jpg" mode=""></image>
					<!-- <uni-icons type="right" size="20"></uni-icons> -->
				</view>

			</view>
			<view class="toux" style="border-bottom: none;">
				<span>账号</span>
				<view>
					<span>{{userName}}</span>
				</view>

			</view>
		</view>
		<button @click="xiu">修改密码</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				userName:uni.getStorageSync('user').userName
			}
		},
		methods: {
			xiu() {
				uni.navigateTo({
					url: './modify'
				})
			}
		},
		mounted() {

		},
		onLoad() {}
	}
</script>

<style lang="scss" scoped>
	.box {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	button {
		width: 695rpx;
		height: 80rpx;
		background: #065CF7;
		border-radius: 40rpx;
		font-family: PingFang SC;
		font-weight: bold;
		font-size: 28rpx;
		color: #FFFFFF;
		margin-top: 60rpx;
		line-height: 80rpx;
	}

	.toux {
		display: flex;
		align-items: center;
		justify-content: space-between;
		border-bottom: 1px #EEEEEE solid;
		height: 120rpx;

		span {
			font-family: PingFang SC;
			font-weight: 500;
			font-size: 28rpx;
			color: #333333;
		}

		view {
			display: flex;
			align-items: center;
		}

		image {
			width: 98.1rpx;
			height: 98.1rpx;
			border-radius: 50%;
		}
	}

	.hezi {
		width: 660rpx;
		background: #FFFFFF;
		border-radius: 14rpx;
		margin-top: 20rpx;
		padding: 20rpx;
	}
</style>